package cn.bgs.service;

import cn.bgs.pojo.Lian;

import java.util.List;
import java.util.Map;

public interface UserService {
    Lian login(String name, String password);

    List<Lian> findAll();

    Lian findById(Integer id);

    void update(Lian lian);

    List<Lian> QueryLian(String name);

    Map<Integer, Lian> QueryLianBirthday(String birthday);
}
